package com.project.fortuneteller.common;

/**
 * 系统常量类
 * @author 16905
 */
public class Constants {

    /**
     * 文件路径
     */
    public static final String FILE_PATH = "/files";

    /**
     * 头像上传路径
     */
    public static final String AVATAR_UPLOAD_PATH = "/avatarImagePath";
    
    /**
     * 人脸识别相似度阈值
     */
    public static final float FACE_SIMILARITY_THRESHOLD = 0.8f;
    
    /**
     * 密码最小长度
     */
    public static final int MIN_PASSWORD_LENGTH = 6;
    
    /**
     * 邮箱正则表达式
     */
    public static final String EMAIL_REGEX = "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$";
}
